package com.zhongfl.crm.lixiao.mapper;

import com.zhongfl.crm.model.boss.CommonLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommonLogMapper {
    void insert(CommonLog log);

    List<CommonLog> selectByType(@Param("type") String type, @Param("key") String key);

    List<CommonLog> selectByTypeAndTypeExt(@Param("type") String type, @Param("typeExt") String typeExt, @Param("key") String key);

    List<CommonLog> selectByTypeExtAndKey(@Param("key") String key, @Param("typeExt") String typeExt);

    List<CommonLog> selectListByTypeExtAndKey(@Param("typeExt") String typeExt, @Param("key") String key);
}
